﻿using System;
using System.Collections.Generic;
using System.Text;
using dAmn;

namespace llAma.Backend.Interface
{
    public interface IUserData
    {
        /// <summary>
        /// Gets information for a user.
        /// </summary>
        /// <param name="key">Name of the information requested.</param>
        /// <returns>Data requested, or string.Empty on failure.</returns>
        string getInfo(string key);
        /// <summary>
        /// Sets user data to a value.
        /// </summary>
        /// <param name="key">User data to store</param>
        /// <param name="value">Value to store</param>
        void setInfo(string key, string value);
        bool SecurityCheck(Packet p);
    }
}
